import http from "../utils/http";

export function getTypeList(type: number) {
    return http.get("/apple/manage/type", {params: {type}});
}

export function addType(data: any) {
    return http.post("/apple/manage/type", {data});
}
